package application;
import cn.edu.scau.cmi.leon.*;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.TextArea;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

public class MyControllerLab31 {
	@FXML
	private ImageView im;
	@FXML
	private Button bu;
	@FXML
	private ComboBox<String> co;
	@FXML
	private TextArea te;





	@FXML
	private void eventbutton(){
		String a = co.getValue();
		PolicyProducer p = null;
		AutoInsurance ins = p.getPolicyObj(a);
		te.setText(ins.getInsurInfo());
	}
}


//fx:controller="application.MyController"